package types;

public class MenuItem
{
	@Override
	public String toString()
	{
		return this.text;// + " ," + this.level + " ," + this.formName;
	}

	int level;
	String text;
	String formName;
	
	public MenuItem()
	{
		level = 1;
		text = "";
		formName = "";
	}
	
	public MenuItem(int level, String text, String formName)
	{
		this.level = level;
		this.text = text;
		this.formName = formName;
	}

	public int getLevel()
	{
		return level;
	}

	public void setLevel(int level)
	{
		this.level = level;
	}

	public String getText()
	{
		return text;
	}

	public void setText(String text)
	{
		this.text = text;
	}

	public String getFormName()
	{
		return formName;
	}

	public void setFormName(String formName)
	{
		this.formName = formName;
	}
}
